import { registerClass } from "../../../cfw/tools/class_decorator";
import { BaseShare } from "../../core/share/BaseShare";
import { ResultState, SDKShareParam } from "../../SDKDefine";


@registerClass('G4399Share')
export default class G4399Share extends BaseShare {




    open(param: SDKShareParam) {
        this.callback = param.callback;
        if (this.sdk) {
            this.sdk.share();
        }
        this.callback(ResultState.YES)
    }
}